package com.seal.mchat.web;

/**
 * Created by seal on 2016/4/4.
 */
public class MessageVo {
    @Override
    public String toString() {
        return "MessageVo{" +
                "from='" + from + '\'' +
                ", to='" + to + '\'' +
                ", type='" + type + '\'' +
                ", time='" + time + '\'' +
                ", content='" + content + '\'' +
                '}';
    }

    private String from;
    private String to;
    private String type;
    private String time;
    private String content;
    public static final String SYSTEM="system";
    public static final String PUBLICE="public";
    public static final String PRIVATE="private";

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
